package com.system.connect.springboot_flowers.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 购物车条目表
 * </p>
 *
 * @author yang
 * @since 2025-01-19
 */
@Getter
@Setter
  public class Cartitems implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 条目唯一标识符
     */
        @TableId(value = "item_id", type = IdType.AUTO)
      private Integer itemId;

      /**
     *  用户唯一标识符
     */
      private Integer userId;

      /**
     * 商品数量
     */
      private Integer quantity;

      /**
     * 花种id
     */
      private Integer flowersId;

      /**
     * 工具id
     */
      private Integer toolId;

      /**
     * 创建时间
     */
      private LocalDateTime createdAt;


}
